import request from '@/api/socialized-servce/index.js' //引入http.js
import req from '@/api/socialized-servce/agr.js'
const api = request
export default {
	// 聊天列表
	queryChartList(params) {
		let url = `business/customerService/queryByCondition`
		return api.request(url, 'post', params)
	},
	// 查询与指定用户的聊天记录
	queryHistoryMessage(params) {
		let url = 'business/messageRecord/queryHistoryMsgPage'
		return req.request(url, 'post', {
			...params
		})
	},
}